import request from "../utils/request";
//获取数据
export function getWorkData(params) {
  return request({
    url: "/getWorkData",
    methods: "get",
    params,
  });
}

//接诊按钮
export function setState(params) {
  return request({
    url: "/setState",
    method: "post",
    data: params,
  });
}

// 查看个人信息
export function getOneName(params) {
  return request({
    url: "/getOneName",
    method: "post",
    data: params,
  });
}
